<template>
  <van-tabbar v-model="active">
    <van-tabbar-item icon="home-o">微信</van-tabbar-item>
    <van-tabbar-item icon="chat-o">通讯录</van-tabbar-item>
    <van-tabbar-item icon="friends-o">发现</van-tabbar-item>
    <van-tabbar-item icon="user-o">我</van-tabbar-item>
  </van-tabbar>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const active = ref(0)
</script>

<style scoped>
/* 在这里编写样式 */
</style>